package com.hanggold.springboot.bean;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author <a href="mailto:sunmch@163.com">smc</a>
 * @date 2019-09-27 10:26
 * @since 1.0.0
 **/
@Component
public class UserBean {

    @Value("${username}")
    private String username;

    public void say(String conent) {
        System.out.println(" 我说 " + conent);
    }

}
